// 引入路由
import { createRouter, createWebHashHistory } from "vue-router";

const routes = [
  {
    path: "/table",
    name: "Table",
    component: () => import('@/views/Table/index.vue'),
  },
  {
    path: "/father",
    name: "Father",
    component: () => import('@/views/Father/index.vue'),
  },
  {
    path: "/track",
    name: "Track",
    component: () => import('@/views/Track/index.vue'),
  },
  {
    path: "/map",
    name: "Map",
    component: () => import('@/views/Map/index.vue'),
  },
  {
    path: "/htmlToImage",
    name: "HtmlToImage",
    component: () => import('@/views/HtmlToImage/index.vue'),
  },
  {
    path: "/customDropdown",
    name: "CustomDropdown",
    component: () => import('@/views/CustomDropdown/index.vue'),
  },
  {
    path: "/test",
    name: "Test",
    component: () => import('@/views/Test/index.vue'),
  },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
